
import { legacy_createStore as createStore, applyMiddleware, combineReducers } from 'redux';
// combineReducers用于合并抽离出去的reducer可以优化代码 是一个函数传一个形参
import datareducer from './data_reducer'
let reducers = combineReducers({
  datareducer,
})

export default createStore()